package com.qianying.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhangcr
 * @date 2023/9/7 10:07
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class QueryWhereBetweenCondition {

    private String nameA;
    private Object conditionA;
    private String signA;
    private Object conditionB;
    private String signB;

    public QueryWhereBetweenCondition(String whereName, Object whereCondition, QueryWhereSymbolEnum symbolEnum, Object whereConditionOther, QueryWhereSymbolEnum symbolOtherEnum) {
        this.nameA = whereName;
        this.conditionA = whereCondition;
        this.signA = symbolEnum.toString();
        this.conditionB = whereConditionOther;
        this.signB = symbolOtherEnum.toString();
    }

}
